public class CSVlogger
extends java.lang.Object
| Constructor and Description |
|---|
CSVlogger(java.lang.String path,
java.lang.String agentA,
java.lang.String spaceA,
java.lang.String agentB,
java.lang.String spaceB,
java.lang.String domain)
Creates a CSV logger
|
CSVlogger(java.lang.String path,
Trace trace) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMeasure(java.lang.String name,
java.util.ArrayList<java.lang.Double> results)
Add an array with the results of a particular quality measures
to the set of arrays which should be printed
|
void |
writeToFileCompact(double timeOfAgreement,
boolean agreement,
int runNr)
Writes the quality measures to a compact log.
|
void |
writeToFilePivotCompatible(int runNr,
double sampleSpeed,
boolean firstEntry)
Writes the quality measures to a pivot-table compatible log.
|
public CSVlogger(java.lang.String path,
java.lang.String agentA,
java.lang.String spaceA,
java.lang.String agentB,
java.lang.String spaceB,
java.lang.String domain)
path - where the file should be stored (included extension)agentA - name of agent AspaceA - utility space of agent AagentB - name of agent BspaceB - utility space of agent Bpublic CSVlogger(java.lang.String path,
Trace trace)
public void addMeasure(java.lang.String name,
java.util.ArrayList<java.lang.Double> results)
name - of the quality measureresults - of the quality measurepublic void writeToFileCompact(double timeOfAgreement,
boolean agreement,
int runNr)
public void writeToFilePivotCompatible(int runNr,
double sampleSpeed,
boolean firstEntry)
firstEntry -